Document anonymity setting device, method and computer readable recording medium recording anonymity setting program

ABSTRACT

A document anonymity setting device comprises a document input means inputting a document, a specificity calculating means extracting an expression specifying a person from the input document and for calculating a specificity to evaluate a degree of specificity at which the expression specifying a person, and an anonymity setting processing means rewriting with anonymity setting a expression in the input document having a specificity which is greater than a predetermined threshold. The specificity calculating unit extracts a person name and a modification expression from the input document and calculates a specificity to evaluate a degree of specificity at which the person name and modification expression thus extracted can specify a person. The anonymity setting processing unit rewrites a person name and a modification expression which have a specificity greater than a predetermined threshold through rewriting to meaningless expression, rewriting to low specificity setting, and rewriting to encrypted expression.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a document anonymity setting device and method which rewrite with anonymity an expression as to specify a person in a with an anonymity expression document and a computer readable recording medium recording an anonymity setting program, and more particularly to a document anonymity setting device for evaluating the degree of intensity at which the expression specifies a person and setting an anonymity and a computer readable recording medium recording and an anonymity setting program.

[0003] 2. Description of the Related Arts

[0004] In recent years, the document data which include personal information. For example, there are a questionnaire answer, a complaint or an electronic mail. There is a problem in that the existence of a company is threatened if the personal information leak out of a company. Therefore, it is necessary to properly conceal information about personal information before analyzing the document data.

[0005] Conventionally, personal information such as person name, phone number, credit card number, and etc. included in the document data or the like have been concealed manually. In the conventional concealment of the personal information, however, it is hard for a worker to decide whether a modification expression related to a personal name or a person which is described belongs to information protected as the personal information or does not need to be protected like information about a public person. Therefore, there is a problem in that the properness for concealing the personal information is varied depending on each person. For this reason, when a worker conceals a personal data the worker's skill and knowledge for concealing the personal information should exceed a certain level. Therefore, the cost of concealing the personal information manually is increased easily.

SUMMARY OF THE INVENTION

[0006] It is an object of the present invention to provide a document anonymity setting device and method capable of mechanizing the concealment of personal information to reduce a working cost, and furthermore, adjusting the degree of the concealment if necessary and a computer readable recording medium recording an anonymity setting program.

[0007] The present invention provides a document anonymity setting device comprising a document input unit for inputting a document of which a personal information is concealed, a specificity calculating unit for extracting an expression specifying a person from the input document and for calculating a specificity of an extracted expression which the can specify a person, and an anonymity setting processing unit for rewriting an expression in the input document having a specificity which is greater than a predetermined threshold. In the present invention, therefore, the degree of specificity of an expression specifying a person is calculated before rewriting with the anonymity expressions in a document. As a result, a document can be rewritten with anonymity expressions automatically or semi-automatically at the required degree of specificity. Thus, the rewriting with anonymity expressions can be carried out efficiently and a working cost can be reduced.

[0008] The specificity calculating unit extracts a person name from input document and calculates a specificity to evaluate a degree of intensity at which the person name thus extracted can specify a person, and the anonymity setting processing unit giving anonymity to a person name having a specificity which is greater than a predetermined threshold. Moreover, the specificity calculating unit extracts a modification expression which modify a person name and can specify a person. For example, “Watson got Novel prize with analysis of Molecular Structure of Nucleic Acids”. In the example, “Watson” is a person name. “got Novel prize” and “with analysis of Molecular Structure of Nucleic Acids” are modification expressions. The person whose name is “Watson” is not only one. The combination of the name “Watson” and the modification expressions which is “got Novel prize” and “with analysis of Molecular Structure of Nucleic Acids” specifies the person “Watson” who got Novel prize with analysis of Molecular Structure of Nucleic Acids. Each modification expression has a degree of specificity, and the degree of specificity of the combination of modification expressions and a person name is calculated with their specificities. And the anonymity setting processing unit gives anonymity to the modification expression of which specificity degree is greater than a predetermined threshold.

[0009] The specificity calculating unit includes a sentence extracting unit for decomposing an input document for a sentence, a part-of-speech analyzing unit for decomposing the extracted sentence for each part of speech, a person name extracting unit for extracting a name based on a name extracting rule from a result of the part-of-speech analysis, and a person name specificity calculating unit for calculating a specificity of the person name thus extracted based on statistical information. Furthermore, the specificity calculating unit further includes a syntax analyzing unit for creating a syntax tree indicative of a modification relationship between clauses based on a syntax analyzing rule from a result of a part-of-speech analysis, a person specifying tree extracting unit for extracting a tree structure which specifies a person. The tree structure is a modification expression from the result of the parsing unit, and a tree structure specificity calculating unit for calculating a specificity of the person specifying tree (modification expression) thus extracted based on statistical information. The specificity calculating unit includes following units.

[0010] (I) A sentence extracting unit for extracting a sentence from an input document

[0011] (II) A part-of-speech analyzing unit for analyzing the extracted sentence for each part of speech

[0012] (III) A person name extracting unit for extracting a person name based on a person name extracting rule from part-of-speech analyzed data

[0013] (IV) A parsing unit for creating structure tree indicative a modification relationship between clauses related to a person name based on a parsing rule from the part-of-speech analyzed data

[0014] (V) A person specifying tree extracting unit for fetching a person specifying tree as near expression based on a person specifying tree extracting rule for the structure tree obtained as a result of parsing

[0015] (VI) A specificity calculating unit for calculating the degree of the specificity which combinations of a person name and modification expressions specify a person by the following method based on statistical information in a extracted document. The modification expressions modify the person name.

[0016] The modification expression is a tree structure having a modification relationship with a person name as a result of the parsing. For example, “X is the president of Y”. “X” is the name of president, and “Y” is company. In the example sentence, “X” is a person name, and the modification expression is “the president of Y”. The modification expression modify the person name “X”. There is a relationship that “the president of Y” modifies “X”. A person name or a modification expression which can specify a person is extracted from an input document.

[0017] The specificity calculating unit calculates a specificity from probabilities at which an extracted expression specifies a person. The probabilities are read from the standard specificity database 14, or calculated based on statistical information of a person name. The standard specificity database 14 stores probabilities of which the person name or the modification expression indicates person with indicated person ID. If an expression is a part of another expression, this expression is out of specificity calculation.

[0018] A person “p”, and his specificity “K(p)” is calculated by following equation.

K(p)=(Sum of probabilities at which expressions which is not pert of another specify p)  (eq-1)

[0019] The method of calculating the specificity K(p) is not restricted to the above equation but it is also possible to use a calculating method having a property that the specificity increases when sum of probabilities increases. The database creating unit 15 extracts a document from a document database to be a group of existing documents through a document extracting unit, then decomposes the document into a sentence through a sentence extracting unit, extracts a person name and a modification expression through a part-of-speech analyzing unit, a person name processing unit and a modification expression processing unit, calculates a probability indicated a certain person, and stores reference specificity data having a set of an ID for identifying a person indicated by an expression, a type of an expression, an expression, and a probability at which an expression indicates a person. For the probability calculation, it is necessary to specify a person indicated by an expression. For this reason, an expression for specifying a person such as an electronic mail address and an address is used. These have the following features of an expression and are fetched from a document by utilizing the features of the expression.

[0020] (I) Electronic mail address: abcd@xxx.yyyy.com

[0021] (II) Address: 1600 Pennsylvania Avenue NW Washington, D.C. 20500

[0022] These expressions specify certainly a person who has an identification ID. A person “p000” has a name and his name is modified by the modification expressions. A person “p000” and a his name “α”, it is shown by “α→p000” that “α” indicates “p000”. A probability “P(α→p000)” is indicating a degree which “α” specifies a person “p000”. And by using a modification expression “β”, it is shown by “β→p000” that “β” can specify “p000”. A probability “P(β→p000)” is indicating a degree which “β” indicates a person “p000”. “M” is an input document. “α” and “β” is extracted from “M”, these probabilities are calculated in the following equation.

P(α→p000)=(number of α in M)/(number of all person names in M)  (eq-2)

P(β→p000)=(number of β in M)/(number of all modification expressions in M)  (eq-3)

[0023] The calculation method is not restricted to above equations but it is also possible to use a calculation method having a property that the probability increases when the number of “α” or “β” increases. The database creating unit 15 registers the probabilities from above equations to reference specificity database 14.

[0024] If an expression of an electrical mail address or an address is not in the input document, a probability of which a person name “α” indicate a person “px” who is not specified is calculated by following equation. In the following equation “N” is the number of the kind of person names in reference specificity database 14.

P(α→px)=(number of a in M)/N  (eq-2′)

[0025] The probability at which a person is specified and read from the reference specificity database and a specificity is calculated through the specificity calculating unit. By comparing the specificity thus calculated with a reference value, it is decided whether or not an anonymity setting processing is to be carried out. The specificity calculating unit include a database creating unit for extracting a person name and a modification expression for each document from the existing document of a document database and calculating a specificity, and creating a reference specificity database storing specificity data having a set of an expression, a type of a person name or a modification expression and a probability of an expression specifying a person.

[0026] The anonymity setting device according to the present invention further comprises an anonymity setting indicating unit for setting and changing a threshold to be used for the anonymity setting processing unit. Therefore, a worker who conceal personal information in a document can easily adjust the degree of concealment with checking result of giving document anonymity by changing threshold. The anonymity setting unit retains a threshold which is used last work. Therefore, a worker can start a new work with the degree of last threshold. The anonymity setting processing unit has a non-anonymity setting requiring database registering a non-anonymity setting requiring notation and does not anonymity set an expression registered in the non-anonymity setting requiring database in the anonymity setting notation extracted from the input document. For example, public person such as a prime minister or an entertainer is registered in the non-anonymity setting database and is excluded from expression which is given anonymity. The anonymity setting processing unit has an anonymity setting database registering a letter pattern of a expression to be always given anonymity. The anonymity setting database registers following letter patterns I-IV.

[0027] Letter pattern: NNNN NNNN NNNN NNNN

[0028] This is a letter pattern of credit card number

[0029] (I) Letter pattern: N+-N+-N+

[0030] Letter pattern: (N+)N+-N+

[0031] These are letter pattern of telephone number in Japan.

[0032] (II) Letter pattern: A+@A+.A+

[0033] Letter pattern: A+@A+.A+.A+

[0034] Letter pattern: A+@A+.A+.A+.A+

[0035] These are letter pattern of electric mail address.

[0036] (III) etc.

[0037] In these letter patterns “N”, “A”, “+” have next meaning.

[0038] A. “N” is numeric letter “0-9”.

[0039] B. “A” is alphabetic letter “A-Z” or “a-z”.

[0040] C. “+” is optional repetition of before letter.

[0041] The anonymity setting processing unit always sets anonymity for expressions with letter patterns which are registered in the anonymity setting database if the degree of specificity of expressions is under threshold. The anonymity setting processing unit can selectively carry out the following processing as the anonymity setting processing.

[0042] (I) An anonymity setting expression extracted from an input document is changed meaningless expressions.

[0043] (II) An anonymity setting expression extracted from an input document is replaced with a low specificity notation having a specificity equal to or lower than a threshold which is to be used for anonymity setting of the anonymity setting expression.

[0044] (III) A anonymity setting expression extracted from an input document is encrypted, thereby carrying out anonymity setting.

[0045] The decrypting unit is for decrypting the encrypting expressions and displaying the decrypted document. Someone can read decrypted document by password input.

[0046] Moreover, the present invention provides a document anonymity setting method. The method comprises a document input;

[0047] a specificity calculating of extracting expressions which is rewritten with anonymity expression from the input document and calculating a specificity to evaluate a degree of specificity at an extracted expression can specify a person; and

[0048] an anonymity setting processing step of anonymity setting processing of rewriting expressions which have greater specificities than a predetermined threshold. The details of the document anonymity setting method are the same as those in the case of the structure of the device.

[0049] Furthermore, the present invention provides a computer readable recording medium recording an anonymity setting program. The anonymity setting program recorded in the recording medium causes a computer to execute following steps.

[0050] (I) A document input step of inputting a document

[0051] (II) A extracting step of extracting a person name and modification expression which can specify a person from input document

[0052] (III) A calculating step of a calculating a specificity to evaluate a degree of intensity at extracted expression which is a person name or a modification expression

[0053] (IV) An anonymity setting processing step of rewrite from extracted expression to anonymity one when degree of specificity intensity of extracted expression is greater than a predetermined threshold.

[0054] The details of the anonymity setting program in the recording medium are also the same as those in the case of the structure of the device.

[0055] The above and other objects, features, and advantages of the present invention will become more apparent from the following detailed description with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0056]FIGS. 1A and 1B are block diagrams showing a functional structure according to the present invention;

[0057]FIG. 2 is a flow chart showing a document anonymity setting processing according to the present invention;

[0058]FIG. 3 is a block diagram showing the functional structure of a specificity calculating unit illustrated in FIGS. 1A and 1B;

[0059]FIG. 4 is a diagram illustrating a syntax tress of a modification expression obtained by a syntax analysis;

[0060]FIG. 5 is a diagram illustrating a person specifying tree extracted from the syntax tree shown in FIG. 4;

[0061]FIG. 6 is a flow chart showing a specificity calculation processing illustrated in FIG. 3;

[0062]FIG. 7 is a block diagram showing the functional structure of a database creating unit provided in the specificity calculating unit illustrated in FIGS. 1A and 1B;, FIG. 8 is a diagram illustrating a reference specificity database;

[0063]FIG. 9 is a flow chart showing a reference specificity database creation processing in FIG. 7;

[0064]FIG. 10 is a flow chart showing an anonymity setting processing according to the present invention;

[0065]FIG. 11 is a diagram illustrating a threshold database in FIGS. 1A and 1B;

[0066]FIGS. 12A and 12B are flow charts showing a replacement processing in FIG. 10;

[0067]FIG. 13 is a diagram illustrating a text working screen to be processed according to the present invention;

[0068]FIG. 14 is a illustrating the screen of a document is rewritten with anonymity expressions according to the present invention. In the case of FIG. 14, a part of expressions specifying a person are rewritten to anonymity expressions is indicated; and

[0069]FIG. 15 is a illustrating the screen of a document is rewritten with anonymity expressions according to the present invention. In the case of FIG. 15, all expressions specifying a person are rewritten to anonymity expressions is indicated.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0070]FIGS. 1A and 1B are a block diagram showing the functional structure of a document anonymity setting device according to the present invention, which are implemented by the program control of a computer device. The document anonymity setting device according to the present invention comprises a document input unit 10, a specificity calculating unit 12, a reference specificity database 14, an anonymity setting processing unit 18, a non-anonymity requiring database 22, an anonymity setting database 24, a threshold database 26, a display unit 38 and an anonymity setting document storage unit 30. Furthermore, a decoding indicating unit 32, a deciding unit 34, a reading data creating unit 36 and a display unit 38 are provided in order to read an anonymity setting document stored in the anonymity setting document storage unit 30 if necessary. Referring to the document anonymity setting device according to the present invention which has such a functional structure, each processing unit will be described below in detail. The document input unit 10 inputs a document which is rewritten with anonymity expression. An input document includes a document to analyze data, for example, and includes document information such as a questionnaire answer, a complaint and an electronic mail which are sent from a client, for example. The input document is inputted by the document input unit 10 is given to the specificity calculating unit 12 to calculate a specificity. The specificity is an expression to specify a person, that is, a value to evaluate the degree of intensity at which a person can be specified for a person name and a modification expression thereof. In the present invention, the specificity calculating unit 12 extracts a person name and a modification expression from an input document, calculates a probability at which the person name and modification expression thus extracted indicate a person from the document database 72 based on the equations (eq-2, eq-3) and (eq-2′) or reads a probability at which the expression indicates a person from the reference specificity database. A specificity is calculated from these probability, and the anonymity setting state unit 18 conceals a person name and a modification expression which have a greater specificity than a predetermined threshold. As following description, database creating unit 15 calculates a specificity which an expression specifies a person by using equations (eq-2) and (eq-3) from a document in the document database 72. In document database 72 includes documents of which quantity is enough to calculate standard specificity. Data having a set of following four items shown in FIG. 8 are output from the reference specificity database 14:

[0071] (I) Personal identification ID of a person

[0072] (II) Type of expression

[0073] (III) Expression

[0074] (IV) Probability at a expression specifying a person

[0075] The specificity calculating unit 12 calculates a specificity based on the equation (eq-1) from the output of the reference specificity database 14.

[0076] Description will be given in accordance with an example of the reference specificity database 14 shown in FIG. 9. In this example, it is assumed that N to be used in the equation (1) is 4. The following expressions which are extracted from the input document specify a person P001.

[0077] (I) John

[0078] (II) John Smith

[0079] (III) j_smith@someone.company.com

[0080] (IV) In Information Apparatus sales division But “John” is a part of “John Smith”, probability of “John” is omitted. A specificity of P001 is calculated from the equation (eq-1).

0.9+1.0+0.2=2.1

[0081] Referring to P003, only a person name of “John” is extracted from input document, and specificity of the expression “John” is calculated as same as P001.

0.2=0.2

[0082] If 2.1 for P001 is the maximum in specificities calculated for all the person in reference database, it is decided whether or not concealment is to be carried out by comparing 2.1 with a predetermined threshold. The specificity calculating unit 12 outputs, to the anonymity setting processing unit 18, a set of specificity data of:

[0083] (I) An expression

[0084] (II) A specificity value

[0085] (III) A position of an expression in an input document.

[0086] The anonymity setting processing unit 18 uses the specificity data output from the specificity calculating unit 12, thereby carrying out an anonymity setting processing of concealing a person name and a modification expression for the input document obtained from the document input unit 10. The following three indicating values are given by a user by using an input device such as a keyboard or mouse to the anonymity setting processing unit 18.

[0087] (I) threshold

[0088] (II) anonymity setting method

[0089] The threshold is set by a user is compared with the specificity of the specificity data obtained from the specificity calculating unit 12 and the anonymity setting processing of concealing a person name and an modification expression having a specificity which is equal to or greater than the threshold is carried out. Examples of a method of setting a threshold include a proper visual operation such as a method of operating a slide bar indicating a specificity value by a mouse or a method of opening a threshold setting window on a display unit to select a threshold from a window item as well as a method of directly inputting a numeric value of the threshold. The anonymity setting processing unit 18 includes the following anonymity setting methods.

[0090] (I) rewriting to meaningless letters

[0091] (II) rewriting to low specificity expression

[0092] (III) rewriting to encrypted expression

[0093] Referring to the turned letter setting, first of all, a mark using, for the turned letter, a name and a modification expression which are rewritten anonymity expression is selected and all the expressions objects are replaced with the selected letters. For example, a name of “George Washington” is set to “XX”. For the rewriting rule, the following is described, for example.

[0094] Rule 1: A name of a person is replaced with “A”.

[0095] Rule 2: A name of a company is replaced with “A”.

[0096] Referring to rewriting to the low specificity expressions, an extracted expression is replaced with a expression having a lower specificity. For the rewriting to low specificity expressions, a set of a name of a person and a specificity and a set of a person specifying tree and a specificity which have low specificities are retrieved from the reference specificity database 14. At this time, the expression having a lower specificity than a specificity of an extracted expression is used to rewrite with the anonymity expression. More specifically, in the case of a name of a person, a person name of a person having a low specificity is retrieved from the reference specificity database 14 to replace a person name. In the case of modification expression, the modification expressions of which specificity are smaller than threshold is retrieved from reference specificity database 14. The input document is rewritten with the retrieved modification expressions. If the retrieve of modification expression is failure, failure of retrieve is noticed. Referring to the rewriting to encrypted expression, furthermore, the expression is encrypted in accordance with a predetermined encrypted rule. For the anonymity setting processing unit 18, a non-anonymity requiring database 22 and an anonymity requiring database 24 are provided. The expressions and a letter pattern which are recorded to the non-anonymity requiring database 22 are not rewritten. And the expressions and a letter pattern which are recorded to the anonymity requiring database 24 are rewritten with anonymity expressions. An expression specifying a person and a letter patterns for identification are registered in the non-anonymity requiring database 22. For example, the following is registered in the non-anonymity requiring database 22.

[0097] (I) Name of a public person such as a prime minister or a minister

[0098] (II) Name of an entertainer

[0099] (III) Letter pattern for specifying a person having a modification expression specifying of a public man such as a prime minister or a states man

[0100] For example, the anonymity setting database 24 registers the following expressions and letter patterns.

[0101] (I) Letter pattern: NNNN NNNN NNNN NNNN

[0102] This is a letter pattern of credit card number

[0103] Letter pattern: N+-N+-N+

[0104] Letter pattern: (N+)N+-N+

[0105] These are letter pattern of telephone number in Japan.

[0106] (II) Letter pattern: A+@A+.A+

[0107] Letter pattern: A+@A+.A+.A+

[0108] Letter pattern: A+@A+.A+.A+.A+

[0109] These are letter pattern of electric mail address.

[0110] (III) etc.

[0111] In these letter patterns “N”, “A”, “+” have next meaning.

[0112] A. “N” is numeric letter “0-9”.

[0113] B. “A” is alphabetic letter “A-Z” or “a-z”.

[0114] C. “+” is optional repetition of before letter.

[0115] The anonymity setting document is rewritten by the anonymity setting processing unit 18 is stored in the anonymity setting document storage unit 30. The anonymity setting document storage unit 30 stores document ID and the anonymity setting document, anonymity setting processing information includes a threshold and anonymity setting method. The threshold and the anonymity setting method which are obtained by an anonymity setting document record stored in the anonymity setting document storage unit 30 are registered in the threshold database 26 based on a document identification. The threshold and anonymity setting method before process can use repeatedly. The document rewritten with anonymity expression is stored in the anonymity setting document storage unit 30. The reading data creating unit 36 read the rewritten document from the anonymity setting document storage unit 30, and generates display data on display unit 38.

[0116] The decrypting unit 32 decrypts the encrypted expressions by password input. After the decryption, expressions can be read on the display unit 38.

[0117]FIG. 2 is a flow chart showing a document anonymity setting processing according to the present invention in FIGS. 1A and 1B. At Step S1, the presence of a rewriting an expressions needed whether is checked. If the anonymity setting processing request is decided by the user, the processing proceeds to Step S2 where an anonymity setting object document is input through the document input unit 10. At step S3, subsequently, a specificity is calculated for the expression is a person name or modification expression by the specificity calculating unit 12. A probability of person name or modification expression is read from the standard specificity database 14. At Step S4, subsequently, the anonymity setting processing is carried out based on the specificity. When the anonymity setting processing is completed at the Step S4, an anonymity setting document is stored in the anonymity setting document storage unit 30 at Step S5. At Step S6, thereafter, a reading request is checked. If there is the reading request, the processing proceeds to Step S7 where the reading data of the retained anonymity setting document are created and displayed. If there is an instruction for end at Step S8, a series of processings are ended.

[0118]FIG. 3 is a block diagram showing a functional structure showing the details of the specificity calculating unit 12 in FIGS. 1A and 1B. The specificity calculating unit 12 includes a sentence extracting unit 40, a part-of-speech analyzing unit 42, a person name processing unit 44 and a modification expression unit 46. The person name processing unit 44 is provided with a person name extracting unit 48, a person name specificity calculating unit 50 and a person name extracting rule 52. Moreover, the modification expression unit 46 includes syntax analysis unit 56, a modification expression extracting unit, modification expression specificity calculating unit 58, a syntax analysis rule 60, and a modification expression extracting rule 62. The anonymity setting document input from the document input unit 10 shown in FIG. 2 is given to the sentence extracting unit 40 in the specificity calculating unit 12 in FIG. 3 and a extracted a unit of sentence is input to the part-of-speech analyzing unit 42. The part-of-speech analyzing unit 42 gives words the part-of-speeches and outputs series of combination of the words and their part-of-speeches to person name processing unit 44 and modification expression unit 46 respectively to carry out. The person name extracting unit 48 receiving the series of the combination of words and its part-of-speech from the part-of-speech analyzing unit 42 extracts a person name by using the person name extracting rule 52 and outputs the person name to the person name specificity calculating unit 50. The person name extracting rules 52, the following if-then rule. In the condition unit of if-then rule, “[ ]” is part-of-speech.

[0119] Rule 52-1: if [first-name] [middle-name] [family-name] then extract as a name

[0120] Rule 52-2: if [first-name] [family-name] then extract as a name

[0121] Rule 52-3: if [first-name] then extract as a name

[0122] Rule 52-4: if [family-name] then extract as a name

[0123] According to such rules 1-4 of rules 52 the person name extracting rules 52, a person name is extract as a word string having a part-of-speech pattern. Moreover, a person name of is extracted from a part-of-speech of family name according to the rule 2. Furthermore, a person name is extracted from a part-of-speech of first name according to the rule 4.

[0124] For example, a person name is “John F. Kennedy”. From part-of-speech analyze, part-of-speech of “John” is first-name, part-of-speech of “F.” is middle-name and part-of-speech of “Kennedy” is family-name. This name is extracted by rule 1.

[0125] The syntax analyzing unit 54 of the modification expression unit 56 creates a tree structure indicative the modification relationship between expressions, that is, part-of-speech analyzing for the sentence decomposed for each part-of-speech obtained from part-of-speech analyzing unit 42. At this time, the parsing unit 56 uses the parsing rules 60. The following rules are registered according to if-then rule. In the condition unit, a part-of-speech is represented by [ ]. In the execution unit a part-of-speech is represented by [ ], the relationship between parts of speech is described with “( )”, and the name of relationship is described with “< >”.

[0126] Rule 60-1: if [person name] [verb] [noun phrase] then [person name] ([noun phrase]→<modification>→[person name])

[0127] Rule 60-2: if [person name noun phrase] [verb] [noun phrase] then [person name] ([person name noun phrase]→<modification>→[person name noun phrase])

[0128] For example, “The founder X is the president of Y”. (X is a person name, Y is a company) From the rule of 60-1, “X” is [first name], “is” is [verb], and “the president of Y” is [noun phrase]. And following relationship is generated.

[noun phrase]→<modification>→[person name]

[0129] This relationship is that noun phrase modifies person name. In this case accordingly a tree structure shown in FIG. 4 is obtained.

[0130] For structure tree obtained as shown in FIG. 4, the following person specifying tree extracting rule 62 to extract a unit part tree. The person specifying tree extracting rule registers the following rule.

[0131] Rule 62-1: if [noun phrase]→<modification>→[person name] then extract as a person specifying tree

[0132] Rule 62-2: if [noun phrase]→<modification>→[person name noun phrase] then extract as a person specifying tree

[0133] In other words, the rule 62-1 corresponds to extraction of noun phrase modifying a person name or the like as person specifying tree. For example, it is possible to extract, as a person specifying tree, “The president of Y”→<modification>→“X” from a tree structure in which the “The president of Y” modifies “X”. In this example, the tree structure shown in FIG. 5 is extracted as the person specifying tree. Extracted person specifying tree is outputted the unit part tree to the tree structure specificity calculating unit 58.

[0134] The tree structure specificity calculating unit 58 refers to the standard specificity database 14 at calculating a specificity of extracted person specifying tree. Thereby acquiring a probability at which structure specifies a person and calculating a specificity in the same manner as the person name specificity calculating unit 50. The tree structure specificity calculating unit 58 calculates a specificity of extracted person specifying tree from a flow chart shown in FIG. 6.

[0135]FIG. 6 is a flow chart showing a processing in the specificity calculating unit 12 illustrated in FIG. 3. In the specificity calculation processing, a sentence is extracted of an input document at Step S1 and a part-of-speech analysis for decomposition into a part of speech is carried out and the part of speech is supplied to each of a person name processing and a modification expression processing at Step S2. In the person name processing, a person name is extracted at Step S3 and a person name specificity is calculated and is output together with a specificity obtained with reference to the reference specificity database 14 at Step S4. In the modification expression processing, moreover, a syntax analysis is carried out at Step S5, the person specifying tree extraction processing is then carried out at Step S6 and a tree structure specificity calculation is carried out with the reference specificity database 14 and is output to a normalization processing at Step S7.

[0136]FIG. 7 shows the function of the database creating unit 15 provided in the specificity calculating unit 12 of FIGS. 1A and 1B. The database creating unit 15 creates the standard specificity database 14 from the document database 72. The document database 72 has enough quantity of documents to calculate standard specificity. In the database creating unit 15, therefore, the sentence extracting unit 40 for extracting the document from the document database 72 is provided and the extracted document is given to the sentence extracting unit 40. The sentence extracting unit 40 and the part-of-speech analyzing unit 42 in the database creating unit 15 which are to be used are the same as those in the block of the specificity calculating unit 12 in FIG. 3. A modification expression processing unit 46-1 extracts an electronic mail address, an address or the like which is a modification expression specifying a person and replace the same address with a person identification ID. The electronic mail address or the address has the following expression features and is fetched from a text by using the expression.

[0137] Electronic mail address: abcd@xxx.yyyy.com

[0138] Address: 1600 Pennsylvania Avenue NW Washington, D.C. 20500

[0139] In a person name processing unit 44-1 and the modification expression processing unit 46-1, a person name and a modification expression are extracted with the same mechanisms as the person name processing unit 44 and the modification expression processing unit 46 in FIG. 3. Referring to the person name and modification expression thus extracted, a probability at which the name and the modification expression indicate a person is calculated in accordance with the equations (eq-2, eq-3) and (eq-2′). Specificity data to have a set of a personal identification ID, a type of an expression, an expression and a probability at which an expression indicates a person which are created by the person name processing unit 44-1 and the modification expression processing unit 46-1 are registered as the reference specificity data in the reference specificity database 14 as shown in FIG. 8, for example.

[0140]FIG. 9 shows a flow of the processing of the database creating unit 15. The specificity calculating unit shown in FIG. 4, a document is extracted the document database 72 collecting existing documents and is decomposed into a sentence to fetch a person specifying tree to be a name and a modification expression. A personal identification ID is created based on a decision from the features of a notation such as an electronic mail address or an address which specifies a person in the modification expression and a probability at which the person name and the modification expression indicate a person is calculated for each personal identification ID based on the equation (eq-2, eq-3) or (eq-2′) and is registered as the set of four data shown in FIG. 8 in the reference specificity database. FIG. 8 shows an example of the registered contents of the reference specificity database 14 in which the reference specificity data are registered the type, the expression and the probability.

[0141]FIG. 9 is a flow chart showing the processing of the reference specificity database creating unit 15 in FIG. 7. In the processing of creating a reference specificity database, a document is extracted the document database 72 to create a document at Step S1 and a part-of-speech analysis for decomposition for each part of speech is carried out at Step S3. The result of the part-of-speech analysis is given to a name processing at Steps S4 and S5 and a modification expression processing at Steps S6 to S9 respectively, and a name extraction, a name specificity calculation, a syntax analysis, a tree structure specificity based on a person specifying tree extraction, and a personal identification ID creation are carried out independently. At Step S10, finally, reference specificity data are registered in the reference specificity database 14 as shown in FIG. 8. The processing of creating a reference specificity database is basically carried out in a preparation stage before the anonymity setting device according to the present invention is used. Also during use, it is desirable that the document database 72 should be properly updated if necessary and the reference specificity database 14 should be rebuilt for new document data.

[0142]FIG. 10 is a flow chart showing the details of the anonymity setting processing at the Step S5 in FIG. 2. In the anonymity setting processing, anonymity setting condition to be used in the anonymity setting processing unit 18 is determined based on an instruction sent from the anonymity setting indicating unit 20 at Step S1. The anonymity setting processing is carried out based on the threshold database 26 when an instruction is not by user.

[0143]FIG. 11 shows the registered contents of the threshold database 26 in FIGS. 1A and 1B. The anonymity setting method is set at Step S2, or the method the last process is used at Step S3. At Step S4, a person name and a modification expression which indicates a person are retrieved for the anonymity setting object document. If there is an anonymity setting notation at Step S5, a non-anonymity setting requiring expression is retrieved with reference to the non-anonymity setting requiring database 22 at Step S6. If the expression is non-anonymity setting requiring expression at Step S7, subsequent processings are skipped. If the expression is not the non-anonymity setting requiring expression, a specificity obtained for the anonymity requiring expression is compared with the threshold set to be the anonymity setting condition at Step S8. If the specificity is equal to or greater than the threshold, a replacement with an anonymity expression at Step S9 is carried out. Any of the rewriting to meaningless expression, the generalization, the low specificity expression and the encoding is carried out for the replacement processing. At step S10, it is decided whether or not the anonymity requiring expression is completely retrieved. If the anonymity setting notation retrieval is not completed, the processing returns to the Step S4 again where the same processing is repeated. If the anonymity setting notation processing is wholly completed, a series of processings are ended.

[0144]FIGS. 12A and 12B are flow charts showing the details of the replacement processing in the Step S9 of FIG. 10. First of all, the presence of an instruction for the rewriting to meaningless expression is checked as the anonymity setting condition at Step S1. If there is the instruction for the rewriting to meaningless expression, the processing proceeds to Step S2 where a mark to be used for a prepared rewriting meaningless expression is selected. At Step S3, the replacement with a rewriting is carried out for an expression having a specificity which is equal to or greater than the threshold. Moreover, if it is decided that an instruction for rewriting to low anonymity setting is sent as the anonymity setting condition at Step S7, the processing proceeds to Step S10. A person specifying tree to be a name or a modification expression which has a specificity smaller than the reference specificity database 14 is retrieved at the Step S10. If there is a rewriting to low specificity expression for the database retrieval at Step S11, replacement with the retrieved specificity notation is carried out at Step S12. On the other hand, in the case in which the low specificity expression cannot be retrieved from the database at the Step S11, a notice of a failure is given to the worker at Step S14 and the processing is then ended. Furthermore, the processing proceeds to Step S8 for encrypting and an encrypted expression is generated, and the expression is replaced with the encrypted expression at Step S9. When the replacement is completed at the Step S3, S6, S9 or S12, an input document and notation data are output at Step S13. The anonymity setting condition is set again if necessary to repeat the anonymity setting processing. If no more expressions, a rewritten document is stored in the anonymity setting document storage unit 30. The anonymity setting processing using decoding at the Steps S8 and S9 will be described below. For the replacement based on the encrypted expression, for example, code <CRYPT> indicating that the encoding is completed is buried in a start position at a place where the anonymity setting is carried out by the encoding and a code </CRYPT> indicating that the range of the encoding is completed is buried in an end position. Moreover, a decoding method is described by using a unit part of a start code <CRYPT> as <CRYPT METHOD=“decoding method”>. For example, an anonymity is set to “X analyzed a program” “X” is a person name through the encoding in the following manner. “<CRYPT METHOD=“METHOD1”>%abc$12DE;KsrBX </CRYPT> analyzed a program”.

[0145] Referring to such encoding, in the case in which the result obtained by encrypting “X” of the input document is “%abc$12DE;KSrBX” and the decrypting method is “METHOD1”, an expression “X” decrypting is replaced with an encrypted expression. In this example, a password and a public range are specified in the decoding method designated as “METHOD1”, and a name of “X” cannot be read without the decrypting. Referring to the rewritten document obtained by the replacement processing using the encrypting, an instruction sent from the decrypting indicating unit 32 using decrypting method determined corresponding to the encrypting method and the decrypting method is given to the deciding unit 34 as shown in the decrypting unit 32, the deciding unit 34 and the reading data creating unit 36 in FIGS. 1A and 1B. Consequently, the input document replaced with the encrypted expression stored in the anonymity setting document storage unit 30 can be read by the decrypting method and a unit part for the encrypted expression can be decrypted into an original person name and modification expression which can be seen through the reading display unit 38.

[0146]FIG. 13 is an anonymity setting window 88 displayed on the working display unit 28 shown in FIGS. 1A and 1B, in which an electronic mail 90 is displayed as an input document is inputted from the document input unit 10. A window 92 for setting the anonymity setting condition is provided on the right side of the anonymity setting working screen 88. It is indicated that a text 92-1 is displayed by opening the window 92. Referring to the working screen 88 for such a text, the window 92 is opened as shown in FIG. 14 to indicate the threshold 92-2 as a threshold based on the selected contents. When an execution key 94 is mouse clicked in this state, the document anonymity setting processing according to the present invention having a predetermined threshold is executed and an rewritten document 96 is displayed. In comparison of the anonymity setting document 96 with the electronic mail 90 to be a text in FIG. 13, the name of a company “Information Media Co., Ltd.” and the name of a position “information media apparatus” are replaced with “BBBB” and “XXXX”, respectively. Moreover, a mail address, a telephone number, a fax number and an address in the electronic mail 90 of the text are replaced based on an anonymity setting expression, respectively.

[0147]FIG. 15 shows the working screen 88 displaying the rewritten document 96 to be the result of a processing through the mouse click of the execution key 94 in the case in which the threshold level of the window 92 is set to be a high level 92-3. In the case in which the threshold level is thus set to be the high level, names of “White” and “John Smith” which are not subjected to the anonymity setting are also replaced with “ZZZZ” based on the anonymity setting expression if the threshold is low in FIG. 14. Thus, the degree of concealment for personal information can further be enhanced.

[0148] Next, description will be given to an embodiment of a computer readable recording medium recording a document anonymity setting program according to the present invention. The document anonymity setting program according to the present invention includes processing steps shown in the flow chart of FIG. 2. More specifically, the anonymity setting program stored in the recording medium according to the present invention causes a computer to execute a document input step of inputting a document, a specificity calculating step of extracting an expression from the input document, and rewriting step of rewriting the expressions specifying a person. Examples of the recording medium include a removable portable type recording medium such as a CD-ROM or a floppy disk, a program provider for providing a program through a line, and furthermore, and a memory device such as an RAM and a hard disk which are to be a processor installing a program. Moreover, a document anonymity setting program provided by the recording medium is loaded onto a processor and is executed on a main memory. Furthermore, the document anonymity setting program stored in the recording medium provided by the present invention preferably includes the processing functions of the document input unit 10, the specificity calculating unit 12, the reference specificity database 14, the specificity normalizing unit 16, the anonymity setting processing unit 18, the anonymity setting indicating unit 20, the non-anonymity setting requiring database 22, the anonymity setting database 24 and the threshold database 26, and furthermore, the anonymity setting document storage unit 30 shown in FIGS. 1A and 1B.

[0149] According to the present invention, as described above, the degree of specificity at which an expression specificities a person in a document is calculated before the execution of the rewriting with an anonymity expression. Personal information can be properly concealed according to anonymity setting method if the specificity value is greater than predetermined threshold for the required. consequently, it is possible to rewrite a document automatically or semi-automatically at a required anonymity degree. Thus, an anonymity setting work can efficiently be carried out and a working cost can be reduced considerably.

[0150] As the present invention may be embodied in several forms without impairing the objects and advantages thereof, the values indicated in the above embodiment is therefore not restrictive. 

What is claimed is:
 1. A device comprising: a specificity calculating extracting means an expression specifying a person from the input document and for calculating a specificity to evaluate a degree of intensity at which the expression specifying a person; and an anonymity setting processing means an expression specifying a person in the input document having a specificity which is greater than a predetermined threshold.
 2. The device according to claim 1, wherein the specificity calculating unit extracts a person name from the input document and calculates a specificity to evaluate a degree of intensity at which the person name thus extracted can specify a person, and the anonymity setting processing unit rewrites a person name having a specificity which is greater than a predetermined threshold.
 3. The device according to claim 1, wherein the specificity calculating unit extracts a modification expression of a person name from the input document and calculates a specificity to evaluate a degree of intensity at which the modification expression thus extracted can specify a person, and the anonymity setting processing unit rewrites a modification expression having a specificity which is greater than a predetermined threshold.
 4. The device according to claim 1, wherein the specificity calculating unit includes: a sentence extracting means extracting a sentence from an input document; a part-of-speech analyzing means decomposing the extracted sentence for each part of speech; a name extracting means extracting a person name based on a person name extracting rule from a result of the part-of-speech analysis; and a name specificity calculating means calculating a specificity of the name thus extracted based on statistical information.
 5. The device according to claim 1, wherein the specificity calculating unit further includes: a syntax analyzing means creating a syntax tree indicative of a modification relationship between clauses based on a syntax analyzing rule from a result of a part-of-speech analysis; a person specifying tree extracting means extracting a tree structure specifying a person as a person modification expression based on a person specifying tree extracting rule for the tree structure obtained by the parsing unit; and a tree structure specificity calculating means calculating a specificity of the person specifying tree thus extracted based on statistical information.
 6. The device according to claim 4 or 5, wherein the specificity calculating unit includes a reference specificity database registering specificity data having a set of an expression specifying a person, a type of a person name or a modification expression and a specificity which are created based on an existing document.
 7. The device according to claim 4 or 5, wherein the specificity calculating unit includes a database creating means extracting a person name and a modification expression for each document from an existing document of a document database to calculate a specificity and for creating a reference specificity database registering specificity data having a set of an expression specifying a person, a type of a person name or a modification expression and a specificity.
 8. The device according to claim 1, wherein the anonymity setting processing unit has a non-anonymity requiring database registering a non-anonymity requiring expression and a expression registered in the non-anonymity requiring database in an expression specifying a person extracted from an input document is not rewritten to anonymity expression.
 9. The device according to claim 1, wherein the anonymity setting processing unit has an anonymity requiring database registering an expression to be rewritten to anonymity expression and all expressions in an input document registered in the anonymity requiring database are rewritten to the anonymity expression.
 10. The device according to claim 1, wherein the anonymity setting processing unit rewrites an expression specifying a person extracted from an input document to no mean.
 11. The device according to claim 1, wherein the anonymity setting processing unit replaces an expression specifying a person extracted from an input document to a low specificity expression having a specificity which is equal to or smaller than a threshold to be used for rewriting with an anonymity expression.
 12. The device according to claim 1, wherein the anonymity setting processing unit encryptes an expression specifying a person extracted from an input document to carry out rewriting with an anonymity expression.
 13. The device according to claim 15, further comprising a decrypting indicating means decrypting and displaying an encrypted expression when someone reads a rewrited document with an anonymity expression through encrypting by the anonymity setting processing unit.
 14. A method comprising: a specificity calculating step of extracting an expression specifying a person from the input document and calculating a specificity to evaluate a degree of specificity at which the expression specifying a person; and an anonymity setting processing of rewriting with an anonymity expression in the input document which has a greater specificity than a predetermined threshold.
 15. The method according to claim 14, wherein the specificity calculating step extracts a person name from the input document and calculates a specificity to evaluate a degree of intensity at which the person name thus extracted can specify a person, and the anonymity setting processing step anonymity sets a person name having a greater specificity than a predetermined threshold.
 16. The method according to claim 14, wherein the specificity calculating step extracts a modification expression of a person name from the input document, calculates a specificity to evaluate a degree of intensity at which the modification expression thus extracted can specify a person, and the anonymity setting processing step sets a modification expression having a greater specificity than a predetermined threshold.
 17. The method according to claim 14, wherein the specificity calculating step includes: a sentence extracting step of extracting a sentence from an input document; a part-of-speech analyzing step of discriminating the extracted sentence for each part of speech; a person name extracting step of extracting a person name based on a name extracting rule from a result of the part-of-speech analysis; and a person name specificity calculating step of calculating a specificity of a person name thus extracted based on statistical information.
 18. The method according to claim 14, wherein the specificity calculating step further includes: a syntax analyzing step of creating a syntax tree indicative of a modification relationship between clauses based on a syntax analyzing rule from the result of the part-of-speech analysis; a tree structure specifying a person extracting step of extracting a tree structure specifying a person as a person modification expression based on a person specifying tree extracting rule for the syntax tree obtained at the syntax analyzing step; and a tree structure specificity calculating step of calculating a specificity of the tree structure specifying a person thus extracted based on statistical information.
 19. The method according to claim 17 or 18, wherein the specificity calculating step takes a weight average of a specificity obtained by a calculation of an expression which specify a person extracted from the input document with a specificity registered in a reference specificity database registering specificity data having a set of an expression specifying a person created based on an existing document, a type of a person name or a modification expression and a specificity, and normalizes the weight average.
 20. The method according to claim 17 or 18, wherein the specificity calculating step includes a database creating step of extracting a person name and a modification expression for each document from an existing document of a document database to calculate a specificity and creating the reference specificity database registering specificity data having a set of an expression specifying a person, a type of a person name or a modification expression and a specificity.
 21. The method according to claim 14, further comprising an anonymity setting indicating step of setting and changing a threshold to be used at the anonymity setting processing step.
 22. The method according to claim 14, wherein the anonymity setting method retains, in a threshold database, a threshold used in an anonymity setting processing for each processing document and sets a last threshold as a default during the anonymity setting processing of a new input document.
 23. The method according to claim 14, wherein the anonymity setting processing step does not replace a registered expression with reference to a non-anonymity setting requiring database in an anonymity setting expression extracted from an input document.
 24. The method according to claim 14, wherein the anonymity setting processing step all expressions is rewritten with anonymity expression in an input document registered in an anonymity setting database registering an expression to be always subjected to rewrite with an anonymity expression.
 25. The method according to claim 14, wherein the anonymity setting processing step replace an expression which specifies a person extracted from an input document into a rewriting to meaningless expression.
 26. The method according to claim 14, wherein the anonymity setting processing step replaces an expression specifying a person extracted from an input document with a low specificity expression having a specificity equal to or lower than a threshold which is to be used for rewriting of the expressions specifying a person.
 27. The method according to claim 14, wherein the anonymity setting processing step encodes an expression specifying a person extracted from an input document, thereby carrying out anonymity setting.
 28. The method according to claim 27, further comprising a decrypting indicating step of decoding and displaying an encrypted expression specifying a person when reading an anonymity setting document which is subjected to the anonymity setting through the encoding at the anonymity setting processing step.
 29. A computer readable recording medium recording an anonymity setting program comprising: a specificity calculating an expression specifying a person from the input document and calculating a specificity to evaluate a degree of intensity at which the expression specifying a person; and an anonymity setting replacement a expression in the input document which has a greater specificity than a predetermined threshold. 